package cn.jinjie.day03.test18;

public class Coffee extends Drink implements Lotto {
    public Coffee() {
    }

    public Coffee(String name, double price) {
        super(name, price);
    }

    @Override
    public void taste() {
        System.out.println("我是伤心的咖啡，味道是苦的,");
    }

    @Override
    public double lotto() {
        // 输出 name（品名）+"咖啡不参与揭盖有奖活动",并返回 0；
        System.out.println(getName() + "咖啡不参与揭盖有奖活动");
        return 0;
    }
}
